package com.purang.web.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 测试VO
 *
 * @author Chuan Qin
 * @version 1.0-RELEASE
 * @since 1.0-RELEASE
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserVo implements RequestVo {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String gender;
}
